package com.leadingsoft.pwxk.converter;

import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.AbstractConverter;
import com.leadingsoft.pwxk.dto.AuditCertDto;
import com.leadingsoft.pwxk.model.AuditCert;

@Component
public class AuditCertConverster extends AbstractConverter<AuditCert, AuditCertDto> {

	@Override
	protected AuditCertDto toDtoActual(AuditCert model) {
		AuditCertDto dto = new AuditCertDto();
		BeanUtils.copyProperties(model, dto);
		return dto;
	}

	@Override
	public void copyProperties(AuditCert model, AuditCertDto dto) {

	}

}
